<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<!--{include(pe_tpl('setting_menu.html'));}-->
	<form method="post" id="form" autocomplete="off">
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20">
		<tr>
			<td align="right" width="200">站点状态：</td>
			<td>
				<div class="layui-form fl">
					<input type="checkbox" name="info[web_state]" value="1" <!--{if($info['web_state']['setting_value']):}-->checked<!--{endif;}--> lay-skin="switch" lay-text="开启|关闭" />
				</div>
				<div class="clear"></div>
			</td>
		</tr>
		<tr>
			<td align="right">网站名称：</td>
			<td><input type="text" name="info[web_title]" value="{$info['web_title']['setting_value']}" class="inputall input500" /></td>
		</tr>
		<tr>
			<td align="right">关&nbsp;&nbsp;键 词：</td>
			<td><input type="text" name="info[web_keywords]" value="{$info['web_keywords']['setting_value']}" class="inputall input500" /></td>
		</tr>
		<tr>
			<td align="right">网站描述：</td>
			<td><textarea name="info[web_description]" style="width:500px;height:100px;">{$info['web_description']['setting_value']}</textarea></td>
		</tr>
		<tr>
			<td align="right">ICP备案号：</td>
			<td><input type="text" name="info[web_icp]" value="{$info['web_icp']['setting_value']}" class="inputall input500" /></td>
		</tr>
		<tr>
			<td align="right">热门搜索词：</td>
			<td>
				<input type="text" name="info[web_hotword]" value="{$info['web_hotword']['setting_value']}" class="inputall input500" />
				<span class="c999 mal10">（多个请用“,”隔开）</span>
			</td>
		</tr>
		<tr>
			<td align="right">统计代码：</td>
			<td>
				<textarea name="info[web_tongji]" style="width:500px;height:120px;" class="fl">{$info['web_tongji']['setting_value']}</textarea>
				<span class="fl c999 mal10" style="margin-top:45px">（第三方流量统计代码）</span>
				<div class="clear"></div>
			</td>
		</tr>
		</table>
	</div>
	<div class="now"><a href="javascript:;" class="sel">LOGO/二维码设置<i></i></a></div>
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20">
		<tr>
			<td align="right" width="200">电脑版Logo：</td>
			<td id="web_logo">
				<div class="fl" style="width:540px">
					<div class="upload_box" style="width:300px; height:55px;">
						<img src="{pe_thumb($info['web_logo']['setting_value'])}" class="upload_img" />
						<input type="hidden" name="info[web_logo]" value="{$info['web_logo']['setting_value']}" class="upload_val" />
					</div>
				</div>
				<div class="fl c999 mat10">（电脑PC版Logo，尺寸300*55）</div>
				<div class="clear"></div>
			</td>
		</tr>
		<tr>
			<td align="right">手机版Logo：</td>
			<td id="h5_logo">
				<div class="fl" style="width:540px">
					<div class="upload_box" style="width:80px; height:80px;">
						<img src="{pe_thumb($info['h5_logo']['setting_value'])}" class="upload_img" />
						<input type="hidden" name="info[h5_logo]" value="{$info['h5_logo']['setting_value']}" class="upload_val" />
					</div>
				</div>
				<div class="fl c999 mat20">（手机H5版Logo，尺寸200*200）</div>
				<div class="clear"></div>
			</td>
		</tr>
		<tr>
			<td align="right">公众号二维码：</td>
			<td id="web_qrcode">
				<div class="fl" style="width:540px">
					<div class="upload_box" style="width:80px; height:80px;">
						<img src="{pe_thumb($info['web_qrcode']['setting_value'])}" class="upload_img" />
						<input type="hidden" name="info[web_qrcode]" value="{$info['web_qrcode']['setting_value']}" class="upload_val" />
					</div>
				</div>
				<div class="fl c999 mat20">（二维码尺寸200*200）</div>
				<div class="clear"></div>
			</td>
		</tr>
		</table>
	</div>
	<div class="now"><a href="javascript:;" class="sel">客服设置<i></i></a></div>
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20">
		<tr>
			<td align="right" width="200">客服电话：</td>
			<td><input type="text" name="info[kefu_phone]" value="{$info['kefu_phone']['setting_value']}" class="inputall input500" /></td>
		</tr>
		<tr>
			<td align="right">客服微信：</td>
			<td><input type="text" name="info[kefu_wechat]" value="{$info['kefu_wechat']['setting_value']}" class="inputall input500" /></td>
		</tr>
		<tr>
			<td align="right">客服 QQ：</td>
			<td><input type="text" name="info[kefu_qq]" value="{$info['kefu_qq']['setting_value']}" class="inputall input500" /></td>
		</tr>
		</table>
	</div>
	<div class="right_bottom center">
		<input type="hidden" name="pe_token" value="{$pe_token}" />
		<input type="hidden" name="pesubmit" value="{$pe_token}" />
		<input type="button" value="提 交" class="tjbtn">
	</div>
	</form>
</div>
<link rel="stylesheet" href="{$pe['host']}include/plugin/layui/css/layui.css">
<script src="{$pe['host']}include/plugin/layui/layui.js"></script>
<link rel="stylesheet" href="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/style.css">
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/plupload.min.js"></script>
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/upload.js"></script>
<script type="text/javascript">
$(function(){
	$("#web_logo").pe_upload();
	$("#h5_logo").pe_upload();
	$("#web_qrcode").pe_upload();
	$(":button").click(function(){
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) pe_open('reload', 1000);
		});
	})
})
layui.use(['form'], function(){
	form = layui.form;
});
</script>
<!--{include(pe_tpl('footer.html'));}-->